home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / Basic / Visual Basic.60 / COMMON / TOOLS / VCM / VCM.MDB / VcmComponentContainer / 14_Cabinet / DBEXCEPT.H < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-18  |  1.2 KB  |  44 lines

  1. ///////////////////////////////////////////////////////////////////////////
  2. // DBEXCEPT.H
  3. //
  4. // This is a part of the Microsoft Foundation Classes and
  5. // Templates (MFC&T).
  6. // Copyright (C) 1998 Microsoft Corporation
  7. // All rights reserved.
  8. //
  9. // This source code is only intended as a supplement to the
  10. // MFC&T Reference and related electronic documentation provided
  11. // with the library.  See these sources for detailed information
  12. // regarding the MFC&T product.
  13. //
  14.  
  15. #ifndef __DBEXCEPT_H__
  16. #define __DBEXCEPT_H__
  17.  
  18. ///////////////////////////////////////////////////////////////////////////
  19. // class COLEDBException
  20.  
  21. class COLEDBException : public CException
  22. {
  23.     DECLARE_DYNAMIC(COLEDBException)
  24. public:
  25. // Constructors and Destructors
  26.     COLEDBException();
  27.     COLEDBException(LPUNKNOWN lpUnk, const IID& iid);
  28.     virtual ~COLEDBException();
  29.  
  30. // Attributes
  31. public:
  32.     LPUNKNOWN m_lpUnk;
  33.     IID m_iid;
  34. };
  35.  
  36. void AFXAPI AfxThrowOLEDBException(LPUNKNOWN lpUnk,
  37.                 const IID& iid);
  38.  
  39. ///////////////////////////////////////////////////////////////////////////
  40.  
  41. #endif // _LATER
  42.  
  43. ///////////////////////////////////////////////////////////////////////////
  44.